// tmp.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "stdio.h"
#include "stdlib.h"
#include "conio.h"
#include <string>
#include <iostream>
#include <vector>
#include <LIST>
#include "FourOperatorer.h"
using namespace std;
char* g_exp = "1+2+3+4+5*4+4*54+23";
#include "CToken.h"
#include "CParse.h"
int main(int argc, char* argv[])
{
	MyFourOperator::CTest test;
	test.ConstructTestEnv( "d:\\test.txt" );
	test.Check();
	cout << "---------------------Token ---------------------" << endl;
	MyRegular_Token::CTestToken testToken;
	testToken.Test( "123 \\x31 abcd \\u3132 ef *123654-,?+.^&\\x654$a\\d\\fabc" );
	cout << "---------------------Parse ---------------------" << endl;
	MyRegular_Parse::CTestParse testParse;
	testParse.Test( "a[a1-2abcd]?b+c*[a-b]?(abcd){1,2}\\dabc\\f?" );
	getch();
	return 0;
}
